<%@ page import="gdepot.Users" %>
<div class="container mt100 pb150 ">
	<div class="form-group col-md-4 col-md-offset-4">

		<div class="row mt20">
			<div class="input-group">
				<span class="input-group-addon" id="basic-addon1">用户名：</span>
				<input id="user_ip" name="userName" type="text" class="form-control" placeholder="请输入用户名" aria-describedby="basic-addon1" value="${userInstance?.userName}">
			</div>
		</div>

		<div class="row mt20">
			<div class="input-group">
				<span class="input-group-addon" id="basic-addon3">全<em class="ml1em">称：</em></span>
				<input id="fullname_ip" name="fullName" type="text" class="form-control" placeholder="请输入全称" aria-describedby="basic-addon1" value="${userInstance?.fullName}">
			</div>
		</div>


		<div class="row mt20">
			<div class="input-group">
				<span class="input-group-addon" id="basic-addon2">密<em class="ml1em">码：</em></span>
				<input id="password_ip" name="password"  type="text" class="form-control" placeholder="请输入由数字和字母组成的6-16位密码" aria-describedby="basic-addon2" value="${userInstance?.password}">
			</div>
		</div>

		<div class="row mt20">
			<div class="input-group">
				<span class="input-group-addon" id="basic-addon2">再次输入<em class="ml1em">密码：</em></span>
				<input id="password_ip" name="password"  type="text" class="form-control" placeholder="请再次输入密码" aria-describedby="basic-addon2" value="${cmd?.passwordAgain}">
			</div>
		</div>

		<div class="row mt20">
			<div class="input-group">
				<span class="input-group-addon" id="basic-addon4">手机号：</span>
				<input id="mobile_ip" name="cellphone" type="text" class="form-control" placeholder="请输入手机号" aria-describedby="basic-addon4" value="${userInstance?.cellphone}">
			</div>
		</div>
		<div class="row mt20">
			<div class="input-group">
				<span class="input-group-addon" id="basic-addon5">邮<em class="ml1em">箱：</em></span>
				<input id="email_ip" name="email" type="text" class="form-control" placeholder="请输入邮箱" aria-describedby="basic-addon5" value="${userInstance?.email}">
			</div>
		</div>
		<div class="row mt20">
			<div class="input-group">
				<span class="input-group-addon" id="basic-addon5">地<em class="ml1em">址：</em></span>
				<input id="address_ip" name="address" type="text" class="form-control" placeholder="请输入地址(选填)" aria-describedby="basic-addon5" value="${userInstance?.address}">
			</div>
		</div>

		<p class="error_p c_tac mt20 color_red" >
			<g:if test="${flash.message}">
				<span id="error_sp" class="message" role="status">${flash.message}</span>
			</g:if>
		</p>

		<div class="row mt20">
			<input class="btn btn-primary  col-xs-5 col-xs-offset-1" type="submit" value="注册">
			<p class="col-xs-5 col-xs-offset-1">已有账号，<g:link action="login">直接登陆</g:link></p>
		</div>

	</div>
</div>





